Package-level declarations

Types

Link copied to clipboard
sealed interface Ad

Ad The interface to which all Chartboost ads conform. Provides basic functionalities common to all ads.

Link copied to clipboard
class Banner(context: <Error class: unknown class>, val location: String, size: Banner.BannerSize, callback: BannerCallback, mediation: Mediation? = null) : Ad

Banner is a view subclass able to show banner ads. Once obtained via the provided initializer, the developer is responsible for adding it to the app's view hierarchy and laying it out properly.

Link copied to clipboard
class Interstitial(val location: String, callback: InterstitialCallback, mediation: Mediation? = null) : Ad

Interstitial is a full-screen ad. To show an interstitial, it first needs to be cached. Trying to show a not-cached interstitial will always fail, so it is recommended to always check if the ad is cached first. You can create and cache as many interstitial ads as you want, but only one can be presented at a time.

Link copied to clipboard
class Rewarded(val location: String, callback: RewardedCallback, mediation: Mediation? = null) : Ad

Rewarded is a full-screen ad that provides a reward to the user. To show a rewarded ad, it first needs to be cached. Trying to show an uncached rewarded ad will always fail, so it is recommended to always check if the ad is cached first. You can create and cache as many rewarded ads as you want, but only one can be presented at a time.